package com.wonders.frame.repository;

import com.wonders.frame.entity.AuthAccount;
import com.wonders.frame.entity.AuthAccountRole;
import com.wonders.frame.entity.AuthUser;
import com.wonders.frame.repository.core.CoreRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AuthUserRepository extends CoreRepository<AuthUser> {

    List<AuthUser>  findByCertnumAndRemoved(String certnum, Integer removed);

    AuthUser findByIdAndRemoved(String id, Integer removed);

}
